package top.liuzhenyu.springboot3.service;

import top.liuzhenyu.springboot3.base.PageBean;
import top.liuzhenyu.springboot3.base.R;
import top.liuzhenyu.springboot3.entity.TbGame;
import top.liuzhenyu.springboot3.vo.PageVO;

public interface TbGameService {
    R<String> insert(TbGame tbGame);

    R<PageVO<TbGame>> query(TbGame tbGame, PageBean pageBean);

    R<TbGame> queryByKey(Integer id);

    R<String> update(TbGame tbGame);

    R<String> delete(Integer id);
}
